package com.ruoyi.hr.mapper.entryexitmanage.quitmanage;

import com.ruoyi.hr.domain.Authority;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface QuitManageMapper {
    List<Map<String,Object>> getQuitEmpData(@Param("map") Map map, @Param("authority")Authority authority);

    List<Map<String,Object>> findEmpDataAll();
    String expirationDate(String time);

    List<Map<String,Object>> quitEmpHistory(@Param("map") Map map, @Param("authority")Authority authority);


    List<Map<String,Object>> addQuitEmp(@Param("map") Map map, @Param("authority")Authority authority);
    String findNameByEid(String eid);
    String executeProcedure(@Param("sql")String sql);
    Map<String,Object> getQuitEmpById(String id);
    List<String> getTableColumn(String tableName);
    int editQuitEmpInfo(Map map);
    int deleteQuitEmp(String id);
    String getNameById(String id);
    List<List<Map<String,Object>>> ExProcedure(@Param("sql") String sql);
}
